// Density mixins and functions for controlling spacing based on density mode
@function density-height($height, $density: 0, $interval: 4px) {
  @return calc(
    #{$height} +
      (
        var(--cv-density-mode, #{$density}) *
          var(--cv-density-interval, #{$interval})
      )
  );
}
